<?php /* Smarty version 2.6.26, created on 2010-05-10 23:16:16
         compiled from editor.tpl */ ?>
<div class="article_module_editor">     <strong>Kolonner:</strong>     <select name="<?php echo $this->_tpl_vars['identifier']; ?>
[col]">        <optgroup label="Valgt">            <option value="<?php echo $this->_tpl_vars['data']['col']; ?>
"><?php echo $this->_tpl_vars['data']['col']; ?>
</option>        </optgroup>        <optgroup label="Kolonner">            <option value="2">2</option>            <option value="3">3</option>            <option value="4">4</option>        </optgroup>    </select><input type="submit" value="Gem"/><br/><br/>        <div style="width:100%">        <?php unset($this->_sections['loop']);
$this->_sections['loop']['name'] = 'loop';
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['data']['col']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['loop']['show'] = true;
$this->_sections['loop']['max'] = $this->_sections['loop']['loop'];
$this->_sections['loop']['step'] = 1;
$this->_sections['loop']['start'] = $this->_sections['loop']['step'] > 0 ? 0 : $this->_sections['loop']['loop']-1;
if ($this->_sections['loop']['show']) {
    $this->_sections['loop']['total'] = $this->_sections['loop']['loop'];
    if ($this->_sections['loop']['total'] == 0)
        $this->_sections['loop']['show'] = false;
} else
    $this->_sections['loop']['total'] = 0;
if ($this->_sections['loop']['show']):

            for ($this->_sections['loop']['index'] = $this->_sections['loop']['start'], $this->_sections['loop']['iteration'] = 1;
                 $this->_sections['loop']['iteration'] <= $this->_sections['loop']['total'];
                 $this->_sections['loop']['index'] += $this->_sections['loop']['step'], $this->_sections['loop']['iteration']++):
$this->_sections['loop']['rownum'] = $this->_sections['loop']['iteration'];
$this->_sections['loop']['index_prev'] = $this->_sections['loop']['index'] - $this->_sections['loop']['step'];
$this->_sections['loop']['index_next'] = $this->_sections['loop']['index'] + $this->_sections['loop']['step'];
$this->_sections['loop']['first']      = ($this->_sections['loop']['iteration'] == 1);
$this->_sections['loop']['last']       = ($this->_sections['loop']['iteration'] == $this->_sections['loop']['total']);
?>        <strong>Kolonne <?php echo $this->_sections['loop']['iteration']; ?>
 :</strong><br/>            <textarea class="makeEditable" style="height:180px;clear:both;" name="<?php echo $this->_tpl_vars['identifier']; ?>
[content][<?php echo $this->_tpl_vars['loop']; ?>
]"><?php echo $this->_tpl_vars['data']['content'][$this->_sections['loop']['index']]; ?>
</textarea>        <?php endfor; endif; ?>    </div>    <div class="clear"></div>    <!--    DO NOT REMOVE THIS PART: START    -->    <input type="hidden" name="sort[]" value="<?php echo $this->_tpl_vars['identifier']; ?>
" />    <input type="submit" value="Gem"/>    <!--    DO NOT REMOVE THIS PART: END    --></div>